gen treatment=.
replace treatment=0 if  importidfl_20_do=="Control"
replace treatment=1 if  importidfl_20_do=="Self-Help"
replace treatment=2 if  importidfl_20_do=="Familyhelp"
replace treatment=3 if  importidfl_20_do=="Hirealawyer"
replace treatment=4 if  importidfl_20_do=="Governmentprogram"
replace treatment=5 if  importidfl_20_do=="Filealawsuit"
label define treatment 0 "Control" 1 "Self-help" 2 "Family help" 3 "Hire a lawyer" 4 "Government program" 5 "File a lawsuit"
label values treatment treatment

gen LumpingIt=.
replace LumpingIt=1 if treatment==1
replace LumpingIt=0 if treatment!=1

gen FamilyHelp=.
replace FamilyHelp=1 if treatment==2
replace FamilyHelp=0 if treatment!=2

gen Control=.
replace Control=1 if treatment==0
replace Control=0 if treatment!=0

gen HireLawyer=.
replace HireLawyer=1 if treatment==3
replace HireLawyer=0 if treatment!=3

gen GovClaim=.
replace GovClaim=1 if treatment==4
replace GovClaim=0 if treatment!=4

gen Lawsuit=.
replace Lawsuit=1 if treatment==5
replace Lawsuit=0 if treatment!=5

label define Dummy 1 "Yes" 0 "No"
label values LumpingIt Dummy
label values FamilyHelp Dummy
label values Control Dummy
label values HireLawyer Dummy
label values GovClaim Dummy
label values Lawsuit Dummy

gen JoeSympathetic=.
replace JoeSympathetic=1 if  importidqid160=="Strongly disagree"
replace JoeSympathetic=2 if  importidqid160=="Disagree"
replace JoeSympathetic=3 if  importidqid160=="Neither agree nor disagree"
replace JoeSympathetic=4 if  importidqid160=="Agree"
replace JoeSympathetic=5 if  importidqid160=="Strongly agree"
replace JoeSympathetic=1 if  importidqid123=="Strongly disagree"
replace JoeSympathetic=2 if  importidqid123=="Disagree"
replace JoeSympathetic=3 if  importidqid123=="Neither agree nor disagree"
replace JoeSympathetic=4 if  importidqid123=="Agree"
replace JoeSympathetic=5 if  importidqid123=="Strongly agree"
replace JoeSympathetic=1 if  importidqid142=="Strongly disagree"
replace JoeSympathetic=2 if  importidqid142=="Disagree"
replace JoeSympathetic=3 if  importidqid142=="Neither agree nor disagree"
replace JoeSympathetic=4 if  importidqid142=="Agree"
replace JoeSympathetic=5 if  importidqid142=="Strongly agree"
replace JoeSympathetic=1 if  importidqid105=="Strongly disagree"
replace JoeSympathetic=2 if  importidqid105=="Disagree"
replace JoeSympathetic=3 if  importidqid105=="Neither agree nor disagree"
replace JoeSympathetic=4 if  importidqid105=="Agree"
replace JoeSympathetic=5 if  importidqid105=="Strongly agree"
replace JoeSympathetic=1 if  importidqid88=="Strongly disagree"
replace JoeSympathetic=2 if  importidqid88=="Disagree"
replace JoeSympathetic=3 if  importidqid88=="Neither agree nor disagree"
replace JoeSympathetic=4 if  importidqid88=="Agree"
replace JoeSympathetic=5 if  importidqid88=="Strongly agree"
replace JoeSympathetic=1 if  importidqid198=="Strongly disagree"
replace JoeSympathetic=2 if  importidqid198=="Disagree"
replace JoeSympathetic=3 if  importidqid198=="Neither agree nor disagree"
replace JoeSympathetic=4 if  importidqid198=="Agree"
replace JoeSympathetic=5 if  importidqid198=="Strongly agree"
label define JoeSympathetic 1 "Strongly disagree" 2 "Disagree" 3 "Neither agree nor disagree" 4 "Agree" 5 "Strongly agree"
label values JoeSympathetic JoeSympathetic

gen JoeTrustworthy=.
replace JoeTrustworthy=1 if  importidqid161=="Strongly disagree"
replace JoeTrustworthy=2 if  importidqid161=="Disagree"
replace JoeTrustworthy=3 if  importidqid161=="Neither agree nor disagree"
replace JoeTrustworthy=4 if  importidqid161=="Agree"
replace JoeTrustworthy=5 if  importidqid161=="Strongly agree"
replace JoeTrustworthy=1 if  importidqid124=="Strongly disagree"
replace JoeTrustworthy=2 if  importidqid124=="Disagree"
replace JoeTrustworthy=3 if  importidqid124=="Neither agree nor disagree"
replace JoeTrustworthy=4 if  importidqid124=="Agree"
replace JoeTrustworthy=5 if  importidqid124=="Strongly agree"
replace JoeTrustworthy=1 if  importidqid143=="Strongly disagree"
replace JoeTrustworthy=2 if  importidqid143=="Disagree"
replace JoeTrustworthy=3 if  importidqid143=="Neither agree nor disagree"
replace JoeTrustworthy=4 if  importidqid143=="Agree"
replace JoeTrustworthy=5 if  importidqid143=="Strongly agree"
replace JoeTrustworthy=1 if  importidqid106=="Strongly disagree"
replace JoeTrustworthy=2 if  importidqid106=="Disagree"
replace JoeTrustworthy=3 if  importidqid106=="Neither agree nor disagree"
replace JoeTrustworthy=4 if  importidqid106=="Agree"
replace JoeTrustworthy=5 if  importidqid106=="Strongly agree"
replace JoeTrustworthy=1 if  importidqid89=="Strongly disagree"
replace JoeTrustworthy=2 if  importidqid89=="Disagree"
replace JoeTrustworthy=3 if  importidqid89=="Neither agree nor disagree"
replace JoeTrustworthy=4 if  importidqid89=="Agree"
replace JoeTrustworthy=5 if  importidqid89=="Strongly agree"
replace JoeTrustworthy=1 if  importidqid211=="Strongly disagree"
replace JoeTrustworthy=2 if  importidqid211=="Disagree"
replace JoeTrustworthy=3 if  importidqid211=="Neither agree nor disagree"
replace JoeTrustworthy=4 if  importidqid211=="Agree"
replace JoeTrustworthy=5 if  importidqid211=="Strongly agree"
label values JoeTrustworthy JoeSympathetic

gen JoeDishonest=.
replace JoeDishonest=1 if  importidqid162=="Strongly agree"
replace JoeDishonest=2 if  importidqid162=="Agree"
replace JoeDishonest=3 if  importidqid162=="Neither agree nor disagree"
replace JoeDishonest=4 if  importidqid162=="Disagree"
replace JoeDishonest=5 if  importidqid162=="Strongly disagree"
replace JoeDishonest=1 if  importidqid125=="Strongly agree"
replace JoeDishonest=2 if  importidqid125=="Agree"
replace JoeDishonest=3 if  importidqid125=="Neither agree nor disagree"
replace JoeDishonest=4 if  importidqid125=="Disagree"
replace JoeDishonest=5 if  importidqid125=="Strongly disagree"
replace JoeDishonest=1 if  importidqid144=="Strongly agree"
replace JoeDishonest=2 if  importidqid144=="Agree"
replace JoeDishonest=3 if  importidqid144=="Neither agree nor disagree"
replace JoeDishonest=4 if  importidqid144=="Disagree"
replace JoeDishonest=5 if  importidqid144=="Strongly disagree"
replace JoeDishonest=1 if  importidqid107=="Strongly agree"
replace JoeDishonest=2 if  importidqid107=="Agree"
replace JoeDishonest=3 if  importidqid107=="Neither agree nor disagree"
replace JoeDishonest=4 if  importidqid107=="Disagree"
replace JoeDishonest=5 if  importidqid107=="Strongly disagree"
replace JoeDishonest=1 if  importidqid90=="Strongly agree"
replace JoeDishonest=2 if  importidqid90=="Agree"
replace JoeDishonest=3 if  importidqid90=="Neither agree nor disagree"
replace JoeDishonest=4 if  importidqid90=="Disagree"
replace JoeDishonest=5 if  importidqid90=="Strongly disagree"
replace JoeDishonest=1 if  importidqid212=="Strongly agree"
replace JoeDishonest=2 if  importidqid212=="Agree"
replace JoeDishonest=3 if  importidqid212=="Neither agree nor disagree"
replace JoeDishonest=4 if  importidqid212=="Disagree"
replace JoeDishonest=5 if  importidqid212=="Strongly disagree"
label define JoeDishonest 1 "Strongly agree" 2 "Agree" 3 "Neither agree nor disagree" 4 "Disagree" 5 "Strongly disagree"
label values JoeDishonest JoeDishonest

gen JoeGreedy=.
replace JoeGreedy=1 if  importidqid163=="Strongly agree"
replace JoeGreedy=2 if  importidqid163=="Agree"
replace JoeGreedy=3 if  importidqid163=="Neither agree nor disagree"
replace JoeGreedy=4 if  importidqid163=="Disagree"
replace JoeGreedy=5 if  importidqid163=="Strongly disagree"
replace JoeGreedy=1 if  importidqid126=="Strongly agree"
replace JoeGreedy=2 if  importidqid126=="Agree"
replace JoeGreedy=3 if  importidqid126=="Neither agree nor disagree"
replace JoeGreedy=4 if  importidqid126=="Disagree"
replace JoeGreedy=5 if  importidqid126=="Strongly disagree"
replace JoeGreedy=1 if  importidqid145=="Strongly agree"
replace JoeGreedy=2 if  importidqid145=="Agree"
replace JoeGreedy=3 if  importidqid145=="Neither agree nor disagree"
replace JoeGreedy=4 if  importidqid145=="Disagree"
replace JoeGreedy=5 if  importidqid145=="Strongly disagree"
replace JoeGreedy=1 if  importidqid108=="Strongly agree"
replace JoeGreedy=2 if  importidqid108=="Agree"
replace JoeGreedy=3 if  importidqid108=="Neither agree nor disagree"
replace JoeGreedy=4 if  importidqid108=="Disagree"
replace JoeGreedy=5 if  importidqid108=="Strongly disagree"
replace JoeGreedy=1 if  importidqid91=="Strongly agree"
replace JoeGreedy=2 if  importidqid91=="Agree"
replace JoeGreedy=3 if  importidqid91=="Neither agree nor disagree"
replace JoeGreedy=4 if  importidqid91=="Disagree"
replace JoeGreedy=5 if  importidqid91=="Strongly disagree"
replace JoeGreedy=1 if  importidqid215=="Strongly agree"
replace JoeGreedy=2 if  importidqid215=="Agree"
replace JoeGreedy=3 if  importidqid215=="Neither agree nor disagree"
replace JoeGreedy=4 if  importidqid215=="Disagree"
replace JoeGreedy=5 if  importidqid215=="Strongly disagree"
label values JoeGreedy JoeDishonest

gen Claimant= (JoeGreedy + JoeDishonest + JoeTrustworthy + JoeSympathetic)/4 

gen IllnessSeverity=.
replace IllnessSeverity=1 if  importidqid176=="Mild - Does not interfere with normal activity; prognosis is excellent"
replace IllnessSeverity=2 if  importidqid176=="Moderate - Interferes with normal activity; treatment is needed; prognosis is good"
replace IllnessSeverity=3 if  importidqid176=="Severe - Is disabling; treatment is urgently needed; prognosis is guarded"
replace IllnessSeverity=4 if  importidqid176=="Extremely severe - Life-threatening; treatment is urgent or of no avail; prognosis is grave"
replace IllnessSeverity=1 if  importidqid137=="Mild - Does not interfere with normal activity; prognosis is excellent"
replace IllnessSeverity=2 if  importidqid137=="Moderate - Interferes with normal activity; treatment is needed; prognosis is good"
replace IllnessSeverity=3 if  importidqid137=="Severe - Is disabling; treatment is urgently needed; prognosis is guarded"
replace IllnessSeverity=4 if  importidqid137=="Extremely severe - Life-threatening; treatment is urgent or of no avail; prognosis is grave"
replace IllnessSeverity=1 if  importidqid157=="Mild - Does not interfere with normal activity; prognosis is excellent"
replace IllnessSeverity=2 if  importidqid157=="Moderate - Interferes with normal activity; treatment is needed; prognosis is good"
replace IllnessSeverity=3 if  importidqid157=="Severe - Is disabling; treatment is urgently needed; prognosis is guarded"
replace IllnessSeverity=4 if  importidqid157=="Extremely severe - Life-threatening; treatment is urgent or of no avail; prognosis is grave"
replace IllnessSeverity=1 if  importidqid118=="Mild - Does not interfere with normal activity; prognosis is excellent"
replace IllnessSeverity=2 if  importidqid118=="Moderate - Interferes with normal activity; treatment is needed; prognosis is good"
replace IllnessSeverity=3 if  importidqid118=="Severe - Is disabling; treatment is urgently needed; prognosis is guarded"
replace IllnessSeverity=4 if  importidqid118=="Extremely severe - Life-threatening; treatment is urgent or of no avail; prognosis is grave"
replace IllnessSeverity=1 if  importidqid101=="Mild - Does not interfere with normal activity; prognosis is excellent"
replace IllnessSeverity=2 if  importidqid101=="Moderate - Interferes with normal activity; treatment is needed; prognosis is good"
replace IllnessSeverity=3 if  importidqid101=="Severe - Is disabling; treatment is urgently needed; prognosis is guarded"
replace IllnessSeverity=4 if  importidqid101=="Extremely severe - Life-threatening; treatment is urgent or of no avail; prognosis is grave"
replace IllnessSeverity=1 if  importidqid221=="Mild - Does not interfere with normal activity; prognosis is excellent"
replace IllnessSeverity=2 if  importidqid221=="Moderate - Interferes with normal activity; treatment is needed; prognosis is good"
replace IllnessSeverity=3 if  importidqid221=="Severe - Is disabling; treatment is urgently needed; prognosis is guarded"
replace IllnessSeverity=4 if  importidqid221=="Extremely severe - Life-threatening; treatment is urgent or of no avail; prognosis is grave"
label define IllnessSeverity 1 "Mild" 2 "Moderate" 3 "Severe" 4 "Extremely severe"
label values IllnessSeverity IllnessSeverity

gen BlameShare=.
replace BlameShare= importidqid172_1 if  importidqid172_1!=.
replace BlameShare= importidqid133_1 if  importidqid133_1!=.
replace BlameShare= importidqid153_1 if  importidqid153_1!=.
replace BlameShare= importidqid114_1 if  importidqid114_1!=.
replace BlameShare= importidqid97_1 if  importidqid97_1!=.
replace BlameShare= importidqid220_1 if  importidqid220_1!=.

gen ideology=.
replace ideology=-1 if  importidqid12=="Extremely liberal"
replace ideology=-3 if  importidqid12=="Extremely liberal"
replace ideology=-2 if  importidqid12=="Liberal"
replace ideology=-1 if  importidqid12=="Slightly liberal"
replace ideology=0 if  importidqid12=="Moderate; middle of the road"
replace ideology=1 if  importidqid12=="Slightly conservative"
replace ideology=2 if  importidqid12=="Conservative"
replace ideology=3 if  importidqid12=="Extremely conservative"
replace ideology=99 if  importidqid12=="Haven't thought much about this"
label define ideology -3 "Extremely liberal" -2 "Liberal" -1 "Slightly liberal" 0 "Moderate" 1 "Slightly conservative" 2 "Conservative" 3 "Extremely conservative" 99 "Haven't thought much about this"
label values ideology ideology

gen gender=.
replace gender=1 if  importidqid3=="Female"
replace gender=2 if  importidqid3=="Male"
replace gender=3 if  importidqid3=="Other"
label define gender 1 "Female" 2 "Male" 3 "Other"
label values gender gender

gen GenderDummy=.
replace GenderDummy=0 if gender==1
replace GenderDummy=0 if gender==3
replace GenderDummy=1 if gender==2
label define Gender_Dummy 1 "Male" 0 "Female or Other"
label values GenderDummy Gender_Dummy

gen age=.
replace age=1 if  importidqid4=="18-29"
replace age=2 if  importidqid4=="30-49"
replace age=3 if  importidqid4=="50-69"
replace age=4 if  importidqid4=="70 and over"
label define age 1 "18-29" 2 "30-49" 3 "50-69" 4 "70 and over"
label values age age

gen education=.
replace education=1 if  importidqid5=="Nursery school to 8th grade"
replace education=2 if  importidqid5=="Some high school, no diploma"
replace education=3 if  importidqid5=="High school graduate, diploma or the equivalent (for example: GED)"
replace education=4 if  importidqid5=="Some college credit, no degree"
replace education=5 if  importidqid5=="Trade/technical/vocational training"
replace education=6 if  importidqid5=="Associate degree"
replace education=7 if  importidqid5=="Bachelor's degree"
replace education=8 if  importidqid5=="Advanced degree (for example: Master's, Professional, or Doctorate degree)"
label define education 1 "Nursert school to 8th grade" 2 "Some high school, no diploma" 3 "High school graduate" 4 "Some college credit" 5 "Trade/technical/vocational training" 6 "Associate degree" 7 "Bachelor's degree" 8 "Advanced degree"
label values education education

gen raceDummy=.
replace raceDummy=1 if Race=="White"
replace raceDummy=0 if Race!="White"

gen treatmentthree=.
replace treatmentthree=0 if treatment==0
replace treatmentthree=1 if treatment==1
replace treatmentthree=2 if treatment !=0 & treatment!=1
label define TreatmentThree 0 "Control" 1 "Lumping It" 2 "Seeking Compensation"
label values treatmentthree TreatmentThree

ttest  IllnessSeverity, by (treatment), if treatment==0 | treatment==1, unequal
ttest  IllnessSeverity, by (treatment), if treatment==0 | treatment==2, unequal
ttest  IllnessSeverity, by (treatment), if treatment==0 | treatment==3, unequal
ttest  IllnessSeverity, by (treatment), if treatment==0 | treatment==4, unequal
ttest  IllnessSeverity, by (treatment), if treatment==0 | treatment==5, unequal
ttest  IllnessSeverity, by (treatment), if treatment==1 | treatment==2, unequal
ttest  IllnessSeverity, by (treatment), if treatment==1 | treatment==3, unequal
ttest  IllnessSeverity, by (treatment), if treatment==1 | treatment==4, unequal
ttest  IllnessSeverity, by (treatment), if treatment==1 | treatment==5, unequal
ttest  IllnessSeverity, by (treatment), if treatment==2 | treatment==3, unequal
ttest  IllnessSeverity, by (treatment), if treatment==2 | treatment==4, unequal
ttest  IllnessSeverity, by (treatment), if treatment==2 | treatment==5, unequal
ttest  IllnessSeverity, by (treatment), if treatment==3 | treatment==4, unequal
ttest  IllnessSeverity, by (treatment), if treatment==3 | treatment==5, unequal
ttest  IllnessSeverity, by (treatment), if treatment==4 | treatment==5, unequal

ttest BlameShare, by (treatment), if treatment==0 | treatment==1, unequal
ttest BlameShare, by (treatment), if treatment==0 | treatment==2, unequal
ttest BlameShare, by (treatment), if treatment==0 | treatment==3, unequal
ttest BlameShare, by (treatment), if treatment==0 | treatment==4, unequal
ttest BlameShare, by (treatment), if treatment==0 | treatment==5, unequal
ttest BlameShare, by (treatment), if treatment==1 | treatment==2, unequal
ttest BlameShare, by (treatment), if treatment==1 | treatment==3, unequal
ttest BlameShare, by (treatment), if treatment==1 | treatment==4, unequal
ttest BlameShare, by (treatment), if treatment==1 | treatment==5, unequal
ttest BlameShare, by (treatment), if treatment==2 | treatment==3, unequal
ttest BlameShare, by (treatment), if treatment==2 | treatment==4, unequal
ttest BlameShare, by (treatment), if treatment==2 | treatment==5, unequal
ttest BlameShare, by (treatment), if treatment==3 | treatment==4, unequal
ttest BlameShare, by (treatment), if treatment==3 | treatment==5, unequal
ttest BlameShare, by (treatment), if treatment==4 | treatment==5, unequal

ttest Claimant, by (treatmentthree), if treatmentthree==0 | treatmentthree==1, unequal
ttest Claimant, by (treatmentthree), if treatmentthree==0 | treatmentthree==2, unequal
ttest Claimant, by (treatmentthree), if treatmentthree==1 | treatmentthree==2, unequal

ttest Claimant, by (treatment), if treatment==0 | treatment==2, unequal
ttest Claimant, by (treatment), if treatment==0 | treatment==3, unequal
ttest Claimant, by (treatment), if treatment==0 | treatment==4, unequal
ttest Claimant, by (treatment), if treatment==0 | treatment==5, unequal
ttest Claimant, by (treatment), if treatment==2 | treatment==3, unequal
ttest Claimant, by (treatment), if treatment==2 | treatment==4, unequal
ttest Claimant, by (treatment), if treatment==2 | treatment==5, unequal
ttest Claimant, by (treatment), if treatment==3 | treatment==4, unequal
ttest Claimant, by (treatment), if treatment==3 | treatment==5, unequal
ttest Claimant, by (treatment), if treatment==4 | treatment==5, unequal

svyset _n
svy: mean  SuitFamily SuitLawyer SuitGov 

rename SuitFamily Suit1
rename SuitLawyer Suit2
rename SuitGov Suit3
reshape long Suit, i(id) j(remedy) 
label define remedy 1 "Family" 2 "Laywer" 3 "Gov"
label values remedy remedy

ttest ideology, by (treatment), if treatment==0 | treatment==1, unequal
ttest ideology, by (treatment), if treatment==0 | treatment==2, unequal
ttest ideology, by (treatment), if treatment==0 | treatment==3, unequal
ttest ideology, by (treatment), if treatment==0 | treatment==4, unequal
ttest ideology, by (treatment), if treatment==0 | treatment==5, unequal
ttest ideology, by (treatment), if treatment==1 | treatment==2, unequal
ttest ideology, by (treatment), if treatment==1 | treatment==3, unequal
ttest ideology, by (treatment), if treatment==1 | treatment==4, unequal
ttest ideology, by (treatment), if treatment==1 | treatment==5, unequal
ttest ideology, by (treatment), if treatment==0 | treatment==1 & ideology!=99, unequal
ttest ideology, by (treatment), if treatment==0 & ideology!=99 | treatment==1 & ideology!=99, unequal
ttest ideology, by (treatment), if treatment==0 & ideology!=99 | treatment==2 & ideology!=99, unequal
ttest ideology, by (treatment), if treatment==0 & ideology!=99 | treatment==3 & ideology!=99, unequal
ttest ideology, by (treatment), if treatment==0 & ideology!=99 | treatment==4 & ideology!=99, unequal
ttest ideology, by (treatment), if treatment==0 & ideology!=99 | treatment==5 & ideology!=99, unequal
ttest ideology, by (treatment), if treatment==1 & ideology!=99 | treatment==2 & ideology!=99, unequal
ttest ideology, by (treatment), if treatment==1 & ideology!=99 | treatment==3 & ideology!=99, unequal
ttest ideology, by (treatment), if treatment==1 & ideology!=99 | treatment==4 & ideology!=99, unequal
ttest ideology, by (treatment), if treatment==1 & ideology!=99 | treatment==5 & ideology!=99, unequal
ttest ideology, by (treatment), if treatment==2 & ideology!=99 | treatment==3 & ideology!=99, unequal
ttest ideology, by (treatment), if treatment==2 & ideology!=99 | treatment==4 & ideology!=99, unequal
ttest ideology, by (treatment), if treatment==2 & ideology!=99 | treatment==5 & ideology!=99, unequal
ttest ideology, by (treatment), if treatment==3 & ideology!=99 | treatment==4 & ideology!=99, unequal
ttest ideology, by (treatment), if treatment==3 & ideology!=99 | treatment==5 & ideology!=99, unequal
ttest ideology, by (treatment), if treatment==4 & ideology!=99 | treatment==5 & ideology!=99, unequal

ttest  raceDummy, by (treatment), if treatment==0 | treatment==1, unequal
ttest  raceDummy, by (treatment), if treatment==0 | treatment==2, unequal
ttest  raceDummy, by (treatment), if treatment==0 | treatment==3, unequal
ttest  raceDummy, by (treatment), if treatment==0 | treatment==4, unequal
ttest  raceDummy, by (treatment), if treatment==0 | treatment==5, unequal
ttest  raceDummy, by (treatment), if treatment==1 | treatment==2, unequal
ttest  raceDummy, by (treatment), if treatment==1 | treatment==3, unequal
ttest  raceDummy, by (treatment), if treatment==1 | treatment==4, unequal
ttest  raceDummy, by (treatment), if treatment==1 | treatment==5, unequal
ttest  raceDummy, by (treatment), if treatment==2 | treatment==3, unequal
ttest  raceDummy, by (treatment), if treatment==2 | treatment==4, unequal
ttest  raceDummy, by (treatment), if treatment==2 | treatment==5, unequal
ttest  raceDummy, by (treatment), if treatment==3 | treatment==4, unequal
ttest  raceDummy, by (treatment), if treatment==3 | treatment==5, unequal
ttest  raceDummy, by (treatment), if treatment==4 | treatment==5, unequal

ttest  GenderDummy, by (treatment), if treatment==0 | treatment==1, unequal
ttest  GenderDummy, by (treatment), if treatment==0 | treatment==2, unequal
ttest  GenderDummy, by (treatment), if treatment==0 | treatment==3, unequal
ttest  GenderDummy, by (treatment), if treatment==0 | treatment==4, unequal
ttest  GenderDummy, by (treatment), if treatment==0 | treatment==5, unequal
ttest  GenderDummy, by (treatment), if treatment==1 | treatment==2, unequal
ttest  GenderDummy, by (treatment), if treatment==1 | treatment==3, unequal
ttest  GenderDummy, by (treatment), if treatment==1 | treatment==4, unequal
ttest  GenderDummy, by (treatment), if treatment==1 | treatment==5, unequal
ttest  GenderDummy, by (treatment), if treatment==2 | treatment==3, unequal
ttest  GenderDummy, by (treatment), if treatment==2 | treatment==4, unequal
ttest  GenderDummy, by (treatment), if treatment==2 | treatment==5, unequal
ttest  GenderDummy, by (treatment), if treatment==3 | treatment==4, unequal
ttest  GenderDummy, by (treatment), if treatment==3 | treatment==5, unequal
ttest  GenderDummy, by (treatment), if treatment==4 | treatment==5, unequal

ttest  age, by (treatment), if treatment==0 | treatment==1, unequal
ttest  age, by (treatment), if treatment==0 | treatment==2, unequal
ttest  age, by (treatment), if treatment==0 | treatment==3, unequal
ttest  age, by (treatment), if treatment==0 | treatment==3, unequal
ttest  age, by (treatment), if treatment==0 | treatment==4, unequal
ttest  age, by (treatment), if treatment==0 | treatment==5, unequal
ttest  age, by (treatment), if treatment==1 | treatment==2, unequal
ttest  age, by (treatment), if treatment==1 | treatment==3, unequal
ttest  age, by (treatment), if treatment==1 | treatment==4, unequal
ttest  age, by (treatment), if treatment==1 | treatment==5, unequal
ttest  age, by (treatment), if treatment==2 | treatment==3, unequal
ttest  age, by (treatment), if treatment==2 | treatment==4, unequal
ttest  age, by (treatment), if treatment==2 | treatment==5, unequal
ttest  age, by (treatment), if treatment==3 | treatment==4, unequal
ttest  age, by (treatment), if treatment==3 | treatment==5, unequal
ttest  age, by (treatment), if treatment==4 | treatment==5, unequal

ttest education, by (treatment), if treatment==0 | treatment==1, unequal
ttest education, by (treatment), if treatment==0 | treatment==2, unequal
ttest education, by (treatment), if treatment==0 | treatment==3, unequal
ttest education, by (treatment), if treatment==0 | treatment==4, unequal
ttest education, by (treatment), if treatment==0 | treatment==5, unequal
ttest education, by (treatment), if treatment==1 | treatment==2, unequal
ttest education, by (treatment), if treatment==1 | treatment==3, unequal
ttest education, by (treatment), if treatment==1 | treatment==4, unequal
ttest education, by (treatment), if treatment==1 | treatment==5, unequal
ttest education, by (treatment), if treatment==2 | treatment==3, unequal
ttest education, by (treatment), if treatment==2 | treatment==4, unequal
ttest education, by (treatment), if treatment==2 | treatment==5, unequal
ttest education, by (treatment), if treatment==3 | treatment==4, unequal
ttest education, by (treatment), if treatment==3 | treatment==5, unequal
ttest education, by (treatment), if treatment==4 | treatment==5, unequal

reg  IllnessSeverity  LumpingIt FamilyHelp HireLawyer GovClaim Lawsuit, robust
reg  IllnessSeverity  LumpingIt FamilyHelp HireLawyer GovClaim Lawsuit ideology raceDummy GenderDummy age education if ideology!=99, robust

reg  BlameShare  LumpingIt FamilyHelp HireLawyer GovClaim Lawsuit, robust
reg  BlameShare  LumpingIt FamilyHelp HireLawyer GovClaim Lawsuit ideology raceDummy GenderDummy age education if ideology!=99, robust

reg Claimant  LumpingIt ClaimingGroups, robust
reg Claimant  LumpingIt ClaimingGroups ideology raceDummy GenderDummy age education if ideology!=99, robust

reg Claimant FamilyHelp HireLawyer GovClaim Lawsuit if LumpingIt!=1, robust


label variable remedy "Remedy Exhaustion"
label variable IllnessSeverity "Illness Severity"
label variable BlameShare "Blame Share"
label variable ideology "Ideology"
label variable GenderDummy "Gender"
label variable age "Age"
label variable education "Education"
label variable raceDummy "Race"


**Figure 2**
ciplot IllnessSeverity, by(treatment)

**Figure 3**
ciplot BlameShare, by(treatment)

**Figure 4**
ciplot Claimant, by(treatmentthree)

**Figure 5**
ciplot Claimant if LumpingIt==0, by(treatment)

**Figure 6**
reg Justifiable remedy IllnessSeverity BlameShare ideology GenderDummy age education  raceDummy if ideology!=99, robust
coefplot, drop (_cons) xline(0) levels (99 95 90) ciopts(lwidth(3 ..) lcolor(*.2 *.4 *.6)) legend (order(1 "99" 2 "95" 3 "90") rows(1))



